﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="F400_Thanh_vien.aspx.cs" Inherits="DanhMuc_F400_Thanh_vien" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">
        .style3
        {
            border: solid 1px #b4b4b4;
            background-color: #3a4f63;
            height: 26px;
        }
        .style4
        {
            width: 302px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<table cellspacing="0" cellpadding="2" style="width:100%;" class="cssTable" border="0">
<!-- Lọc dữ liệu thành viên -->
	<tr>
		<td class="style3" colspan="3">
		    <asp:label id="v_lbl_loc_du_lieu_tv" runat="server" CssClass="cssPageTitle" 
                Text="Lọc dữ liệu thành viên"/>
		</td>
	</tr>
    <tr>
        <td>
            <table cellspacing="0" cellpadding="2" class="cssTable" border="0" width="100%">
                <tr>
                    <td align="right" ><asp:label id="Label4" CssClass="cssManField" runat="server" 
                Text="Mã thành viên"/></td>
                    <td class="style4"> <asp:TextBox ID="m_txt_ma_thanh_vien" runat="server" Width="277px" CssClass="cssTextBox"></asp:TextBox></td>
                    <td align="right">
                    <asp:label id="Label13" CssClass="cssManField" runat="server" 
                Text="Tháng sinh nhật Thành viên" />
		            </td>
                <td align="left" colspan="2">
                    &nbsp;<asp:DropDownList id="m_cbo_thang_sn_TV" runat="server" 
                        CssClass="cssDorpdownlist"  >
                        <asp:ListItem Selected="True" Value="0">Tất cả</asp:ListItem>
                        <asp:ListItem Value="1">1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                        <asp:ListItem>6</asp:ListItem>
                        <asp:ListItem>7</asp:ListItem>
                        <asp:ListItem>8</asp:ListItem>
                        <asp:ListItem>9</asp:ListItem>
                        <asp:ListItem>10</asp:ListItem>
                        <asp:ListItem>11</asp:ListItem>
                        <asp:ListItem>12</asp:ListItem>
                    </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td align="right"><asp:label id="Label2" CssClass="cssManField" runat="server" 
                Text="Họ và tên"/></td>
                    <td class="style4"> <asp:TextBox ID="m_txt_ho_ten" runat="server" Width="277px" CssClass="cssTextBox"></asp:TextBox></td>
                 <td align="right">
                    <asp:label id="Label3" CssClass="cssManField" runat="server" 
                Text="Bộ phận" />
		            </td>
                <td align="left" colspan="2">
                    &nbsp;<asp:DropDownList id="m_cbo_bo_phan" runat="server" 
                        CssClass="cssDorpdownlist">
                    </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                <td align="right">
                    &nbsp;<asp:label id="m_lbl_sex" CssClass="cssManField" runat="server" 
                Text="Giới tính" /></td>
                <td class="style4">
                   <asp:RadioButtonList ID="rdl_gender_check" runat="server" 
                        RepeatDirection="Horizontal" Width="167px">
                        <asp:ListItem Selected="True">All</asp:ListItem>
                        <asp:ListItem Value="Male">Nam</asp:ListItem>
                        <asp:ListItem Value="Female">Nữ</asp:ListItem>
                    </asp:RadioButtonList></td>
                <td align="right">
                    <asp:label id="Label5" CssClass="cssManField" runat="server" 
                Text="Từ khóa tìm kiếm" />
		            </td>
                <td> &nbsp;<asp:TextBox ID="m_txt_tu_khoa" runat="server" Width="277px" CssClass="cssTextBox"></asp:TextBox></td>
                </tr>
                <tr>
                     <td align="center" colspan="4">
                      <asp:label id="lbl_tu_khoa" CssClass="cssLabel" runat="server" 
                Text="(Từ khóa tìm kiếm: Mã thành viên, tên giảng thành hoặc email, trường đào tạo,bộ phận,...)"/>
                     </td>
                 </tr> 
                 <tr>
                     <td align="center" colspan="4"> 
                        <asp:button id="Button3" accessKey="v" CssClass="cssButton" 
                            runat="server" Width="98px" Text="Xem toàn bộ" Height="22px" 
                             onclick="m_cmd_xem_toan_bo_Click"/>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
			            <asp:button id="Button1" accessKey="l" CssClass="cssButton" 
                            runat="server" Width="98px" Text="Lọc dữ liệu" 
                                    Height="23px" onclick="m_cmd_loc_du_lieu_Click"/> &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
			            <asp:button id="Button2" accessKey="x" CssClass="cssButton" 
                            runat="server" Width="98px" Text="Xuất Excel" Height="22px"/>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:button id="Button4" accessKey="x" CssClass="cssButton" 
                            runat="server" Width="98px" Text="Thêm mới" Height="22px" 
                             onclick="Button4_Click"/>
		             </td>
                  </tr> 
            </table>   
        </td>
    </tr>
<!-- Lưới dữ liệu-->
    <tr>
		<td class="cssPageTitleBG" colspan="3">
		    <asp:label id="Label1" runat="server" CssClass="cssPageTitle" 
                Text="Kết quả lọc dữ liệu"/>
		</td>
	</tr>
    <tr>
		<td align="center" colspan="3" style="height:450px;" valign="top">
    <asp:GridView ID="m_grv_thanh_vien" runat="server" CellPadding="4" 
        ForeColor="#333333" GridLines="None" AutoGenerateColumns="False" 
        Width="97%">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:TemplateField HeaderText="STT">
                <ItemTemplate><%# Container.DataItemIndex + 1 %>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="MA_THANH_VIEN" HeaderText="Mã thành viên" />
            <asp:BoundField DataField="HO_VA_TEN_DEM" HeaderText="Họ đệm" />
            <asp:BoundField DataField="TEN_THANH_VIEN" HeaderText="Tên" />
            <asp:BoundField DataField="NGAY_SINH" HeaderText="Ngày sinh" />
            <asp:BoundField DataField="GIOI_TINH_YN" HeaderText="Giới tính" />
            <asp:BoundField DataField="MOBILE_PHONE" HeaderText="Mobile" />
            <asp:TemplateField HeaderText="Chi tiết"></asp:TemplateField>
        </Columns>
        <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#EFF3FB" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
    </asp:GridView>
       </td>
	</tr>
</table>
</asp:Content>

